*{
    box-sizing: border-box;
}

body{
    background-image: linear-gradient(
        0deg,
        rgba(247,247,247,1)23.8%
        rgba(252,221,221,1)92%
    );
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    margin: 0%;
}

.music-container{
    background-color: #ffaaff;
    border-radius: 18px;
    box-shadow:0 20px 20px 0 #ffaaff;
    display: flex;
    padding: 20px 30px;
    position: relative;
    margin: 100px 0;
    z-index: 10;
}

.img-container{
    position: relative;
    width: 120px;
}

.img-container img{
    border-radius: 66%;
    object-fit: cover;
    height: 108px;
    width: inherit;
    position: absolute;
    bottom: 0%;
    left: 0;
    animation: rotate 3s linear infinite;
    animation-play-state: paused;
}

.music-container.play .img-container img{
    animation-play-state: running;
}

@keyframes rotate{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360degd);
    }
}

.navigation{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.action-btn{
    background-color: rgb(252, 33, 186);
    border: 0;
    color: rgb(1, 255, 255);
    font-size: 20px;
    cursor: pointer;
    padding: 18px;
    margin: 0 22px;
}

.action-btn action-btn-big{
    color: #afaf;
    font-size: 20px;
}

.action-btn:focus{
    outline: 0;
}

.music-info{
    background-color: rgb(157, 212, 226);
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: 0%;
    left: 20px;
    width: calc(100% - 40px);
    padding: 10px 10px 10px 150px;
    opacity: 0;
    transform: translateY(0%);
    transition: transform 0.3s ease-in,opacity 0.3s ease-in;
    z-index: 0;
}

.music-container.play .music-info{
    opacity: 1;
    transform: translateY(-100%);
}

.music-info h4{
    margin: 0%;
}

.progress-container{
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    height: 4px;
    width: 100%;
}

.progress{
    background-color: #de8daa;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}